﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Data;

/// <summary>
/// Summary description for AdminBUS
/// </summary>
public class AdminBUS
{
    AdminDAL adDAL = new AdminDAL();
	public AdminBUS()
	{
		//
		// TODO: Add constructor logic here
		//
	}

    public DataTable isValidLogin(string user, string pass) {
        return adDAL.isValidLogin(user, pass);
    }

    public bool updatePassword(int id, string password) {
        return adDAL.updatePassword(id,password);
    }
}